// load Third-Party module
require('./resources/js/module/oclazyload/ocLazyLoad.js');

require('./resources/js/module/bootstrap/ui-bootstrap-tpls.js');

require('./resources/js/module/logger/angular-logger.js');

require('./resources/js/module/clipboard/angular-clipboard.js');

require('./resources/js/module/uigrid/ui-grid.js');

require('./resources/js/module/uigrid/ui-grid-ext.js');

require('./resources/js/module/file/angular-file-upload.js');

require('./resources/js/module/colorpicker/bootstrap-colorpicker-module.js');

require('./resources/js/module/chart/angular-chart.js');

require('./resources/js/module/contextmenu/context-menu.js');

require('./resources/js/module/hotkeys/hotkeys.js');

require('./resources/js/module/abntree/abn_tree_directive.js');

// load fs not module js files
require('./resources/js/notModuleJsFiles/big/big.js');

require('./resources/js/notModuleJsFiles/scrollbar/perfect-scrollbar.min.js');

require('./resources/js/module/chart/Chart.js');

require('./resources/js/module/file/FileSaver.js');

require('./resources/js/module/file/view/pdf.js');

require('./resources/js/module/file/view/pdf.worker.js');

// load fs module
require('./module/fsConstant/fsConstant.js');

require('./module/fsLogger/fsLogger.js');

require('./module/fsStorage/fsStorage.js');

require('./module/fsFilter/fsFilter.js');

require('./module/fsRouter/fsRouter.js');

require('./module/fsAjax/fsAjax.js');

require('./module/fsDate/fsDate.js');

require('./module/fsModal/fsModal.js');

require('./module/fsKeyDown/fsKeyDown.js');

require('./module/fsValidator/fsValidator.js');

require('./module/fsMenu/fsMenu.js');

// load fsFormat module
require('./module/fsFormat/fsFormat.js');

require('./module/fsFormat/directive/fsFormatDirective.js');

require('./module/fsFormat/service/fsFormatService.js');

// load fsLayout module
require('./module/fsLayout/fsLayout.js');

importAll(require.context('./module/fsLayout/components', true, /\.js$/));

// fsLayout service
require('./module/fsLayout/service/componentService.js');

require('./module/fsLayout/service/commonService.js');

require('./module/fsLayout/service/dashboardPanelService.js');

require('./module/fsLayout/service/gridService.js');

require('./module/fsLayout/service/i18nLoader.js');

require('./module/fsLayout/service/signonService.js');

// fsLayout directive
require('./module/fsLayout/directive/fsAside/fsAside.js');

require('./module/fsLayout/directive/fsDashboardPanel/fsDashboardPanel.js');

require('./module/fsLayout/directive/fsGridFilter/fsGridFilter.js');

require('./module/fsLayout/directive/fsGridPrefix/fsGridPrefix.js');

require('./module/fsLayout/directive/fsInnerList/fsInnerList.js');

require('./module/fsLayout/directive/fsList/fsList.js');

require('./module/fsLayout/directive/fsListGroup/fsListGroup.js');

require('./module/fsLayout/directive/fsPermission/fsPermission.js');

require('./module/fsLayout/directive/fsScrollbar/fsScrollbar.js');

require('./module/fsLayout/directive/fsTab/fsTab.js');

require('./module/fsLayout/directive/fsTabContentTransclude/fsTabContentTransclude.js');

require('./module/fsLayout/directive/fsTabHeadingTransclude/fsTabHeadingTransclude.js');

require('./module/fsLayout/directive/fsTab/fsTab.js');

require('./module/fsLayout/directive/fsTabset/fsTabset.js');

require('./module/fsLayout/directive/fsUiGridCompare/fsUiGridCompare.js');

//module waf
require('./module/fsWaf/fsWaf.js');

require('./module/fsWaf/wafConfig.js');

require('./module/fsWaf/wafMain.js');

require('./module/fsWaf/service/arithService.js');

require('./module/fsWaf/service/httpInterceptor.js');

// load css
require('./scssDependencies.scss');

// Load multiple files
function importAll(r) {
  r.keys().forEach(r);
}
